package com.huajin.gateway.nmap.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.huajin.gateway.nmap.dao.ScanconfigDao;
import com.huajin.gateway.nmap.domain.ScanconfigDO;
import com.huajin.gateway.nmap.service.ScanconfigService;


@Service
public class ScanconfigServiceImpl implements ScanconfigService {
    @Autowired
    private ScanconfigDao scanconfigDao;

    @Override
    public ScanconfigDO get(Integer id) {
        return scanconfigDao.get(id);
    }

    @Override
    public List<ScanconfigDO> list(Map<String, Object> map) {
        return scanconfigDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return scanconfigDao.count(map);
    }

    @Override
    public int save(ScanconfigDO scanconfig) {
        return scanconfigDao.save(scanconfig);
    }

    @Override
    public int update(ScanconfigDO scanconfig) {
        return scanconfigDao.update(scanconfig);
    }

    @Override
    public int remove(Integer id) {
        return scanconfigDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return scanconfigDao.batchRemove(ids);
    }

}
